package com.xhwl.logistics.vo.logistics;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 安全隐患上报
 * </p>
 *
 * @author lin.yang
 * @since 2023-12-15
 */
@Data
@ApiModel(value="LogisticsSecurityRisk对象", description="安全隐患上报")
public class SecurityRiskVO implements Serializable {


    private Integer id;

    @ApiModelProperty(value = "项目id")
    private String projectId;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "设备id")
    private String deviceId;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "设备位置")
    private String devicePosition;

    @ApiModelProperty(value = "工单流程id")
    private String flowId;

    @ApiModelProperty(value = "工单流程名称")
    private String flowName;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "图片地址")
    private String picUrl;

    @ApiModelProperty(value = "紧急程度（1、紧急    0、一般）")
    private Integer emergent;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createUser;

}
